<template>
  <div>
    <span>{{title}}</span>
    <input type="text" :placeholder="inputval" />
  </div>
</template>

<script>
export default {
    props:['title','inputval']
};
</script>

<style lang="less" scoped>
div {
    position: relative;
    span {
      display: inline-block;
      margin-right: 60px;
    }
    input{
        position: absolute;
        left: 200px;
    }
  }
</style>